﻿<Window x:Class="WikiMarkupConverter.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="650">
    <Window.Resources>
        <ResourceDictionary Source="AppResources.xaml"/>
    </Window.Resources>
    <TabControl>
        <TabItem Header="Convert">
            <Grid>
                <StackPanel>
                    <Grid>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="90*"/>
                            <ColumnDefinition Width="400*"/>
                            <ColumnDefinition Width="30*"/>
                        </Grid.ColumnDefinitions>
                        <Label Content="Input Folder" Grid.Column="0" />
                        <TextBox Name="TxbInputPath" Grid.Column="1"/>
                        <Button Content="..." Name="BtnBrowseInputPath" Grid.Column="2" Click="BtnBrowseInputPath_OnClick"/>
                    </Grid>
                    <Grid>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="90*"/>
                            <ColumnDefinition Width="400*"/>
                            <ColumnDefinition Width="30*"/>
                        </Grid.ColumnDefinitions>
                        <Label Content="Output Folder" Grid.Column="0" />
                        <TextBox Name="TxbOutputPath" Grid.Column="1"/>
                        <Button Content="..." Name="BtnBrowseOuputPath" Grid.Column="2" Click="BtnBrowseOuputPath_Click"/>
                    </Grid>
                    <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
                        <Label Content="From"/>
                        <ComboBox Name="CbOrigin" MinWidth="100" Margin="10,0"/>
                        <Label Content="To" />
                        <ComboBox Name="CbTarget" MinWidth="100" Margin="10,0"/>
                    </StackPanel>
                    <Button Content="Convert" Name="BtnConvert" Width="100" Height="30" Margin="20" Click="BtnConvert_OnClick" />
                    <ProgressBar Height="15" Margin="15" Name="PgbMain"/>
                </StackPanel>
            </Grid>
        </TabItem>
        <TabItem Header="Settings">
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*" />
                    <ColumnDefinition Width="*" />
                </Grid.ColumnDefinitions>
                <StackPanel Grid.Column="0">
                    <Label Content="Extensions" HorizontalContentAlignment="Center" />
                    <TextBlock TextWrapping="Wrap">
                        List of all the file extensions that will be processed during the convertion.
                        All other file type will be ignored (not case sensitive). (Extension example: ".txt")
                    </TextBlock>
                    <ListBox Name="LbSettingsExtensions" Height="120" HorizontalContentAlignment="Center"/>
                    <Button Name="BtnSettingsRemoveExtension" Content="Remove selected" HorizontalAlignment="Center" Click="BtnSettingsRemoveExtension_OnClick" />
                    <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
                        <TextBox Name="TxbSettingsExtension" Width="100" />
                        <Button Name="BtnSettingsAddExtension" Content="Add" Click="BtnSettingsAddExtension_OnClick"/>
                    </StackPanel>
                </StackPanel>
            </Grid>
        </TabItem>
    </TabControl>

</Window>
